#ifndef _HEART_H
#define _HEART_H

#include "Object.h"
#define HEART_GRAVITY		0.001
#define HEART_VX			0.1

class Heart : public Object
{
private:
	float min_X;
	float max_X;

	Sprite* p_heart;

public:
	/*
	 *	Get/Set properties
	 */
	OBJECT_TYPE getObjectType();

	/*
	 *	Constructor/Destructor
	 */
	Heart(LPDIRECT3DDEVICE9 d3ddv, LPDIRECT3DSURFACE9 BackBuffer, LPD3DXSPRITE SpriteHandler, float x, float y, int ID, int Object_State);
	~Heart();

	/*
	 *	Method
	 */
	void update(list<Object*>* obj_list, DxInput* input, float TPF);
	void update(list<Object*>* obj_list, DxInput* input, float TPF, Object* simon){}

	void render(int cameraX, int cameraY);
	void changeState(int obj_state);
};

#endif